<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="https://cdn.bootcss.com/weui/1.1.2/style/weui.min.css">
    <title>订单</title>
    <style>
        input {
            width: 60px;
            outline: none;
            border: 1px solid #ddd;
            height: 25px;
            padding-left: 5px;
        }

        .weui-form-preview p {
            margin-top: 10px;
        }

        .weui-tabbar {
            position: absolute;
            bottom: 0;
            width: 100%;
            height: 53px!important;
        }
    </style>
</head>

<body>
    <div class="order_">
        <div class="weui-loadmore weui-loadmore_line">
            <span class="weui-loadmore__tips">你可以在此处添加商品数量或者删除商品</span>
        </div>
        <div class="weui-form-preview">
            <div class="weui-form-preview__hd">
                <label class="weui-form-preview__label">订单金额</label>
                <em class="weui-form-preview__value">¥2400.00</em>
            </div>
            <div class="weui-form-preview__bd">
                <p>
                    <label class="weui-form-preview__label">中华</label>
                    <span class="weui-form-preview__value">
                        <input type="number" value="35">
                    </span>
                </p>
                <p>
                    <label class="weui-form-preview__label">小雪碧</label>
                    <span class="weui-form-preview__value">
                        <input type="number" value="35">
                    </span>
                </p>
                <p>
                    <label class="weui-form-preview__label">大面包</label>
                    <span class="weui-form-preview__value">
                        <input type="number" value="35">
                    </span>
                </p>
            </div>
            <div class="weui-form-preview__ft">
                <a class="weui-form-preview__btn weui-form-preview__btn_default" href="javascript:">取消</a>
                <a class="weui-form-preview__btn weui-form-preview__btn_primary" href="javascript:">下单</a>
            </div>
        </div>
        <div id="footer"></div>
    </div>
</body>
<script src="https://cdn.bootcss.com/zepto/1.0rc1/zepto.min.js"></script>
<script>

    $('#footer').load('../directive/footer.html', function () {
        $('#footer').find('a').eq(1).addClass('weui-bar__item_on')
        $('#footer .weui-bar__item_on img').attr('src', $('#footer .weui-bar__item_on img').attr('src').split('.svg')[0] + '_.svg')
    })
</script>

</html>